package com.market.service;

import com.market.entity.SendBack;

import java.util.List;

public interface SendBackService {

    boolean addSendBackRecord(SendBack sendBack); //增加退货记录

    List<SendBack> findSendBackRecords(int buyerId); //根据买家id查看买家的退款记录

    boolean modifySendBackState(int id,int state); //根据订单id修改订单状态

    boolean deleteSendBack(int id); //删除退货单

    SendBack findSendBack(int id);  //查询某个退货单

    List<SendBack>queryAllSendBack();//查询全部退货单
}
